package com.example.webservice.server.service.impl;

import com.example.webservice.server.service.HelloService;
import org.springframework.stereotype.Service;

import javax.jws.WebService;

/**
 * @Author hweiyu
 * @Description
 * @Date 2021/4/21 17:45
 */
@Service
@WebService(name = "HelloService", targetNamespace = "http://service.server.webservice.example.com",
        endpointInterface = "com.example.webservice.server.service.HelloService")
public class HelloServiceImpl implements HelloService {

    @Override
    public String hello(String msg) {
        return "Hello, " + msg;
    }
}
